package content.enumeration;


import converter.BaseEnum;
import exception.TypeConversionException;

/**
 * 品牌状态
 */
public enum BranchStatus implements BaseEnum {

    AUDITED(1, "audited"),
    REVIEWING(0,"reviewing"),
    DELETED(-1,"deleted"),
    REVIEWFAILED(2,"reviewFailed");
    private Integer status;
    private String name;

    BranchStatus(Integer status, String name) {
        this.status = status;
        this.name = name;
    }


    @Override
    public Integer getCode() {
        return status;
    }

    @Override
    public String getName() {
        return name;
    }
}
